package com.info33.platform.business.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.info33.platform.business.app.entity.AppRole;
import com.info33.platform.business.app.vo.AppRoleVO;
import com.info33.platform.common.mvc.vo.Result;
import com.info33.platform.system.vo.SysUserVO;

import java.util.List;

/**
 * @author admin
 */
public interface AppRoleService extends IService<AppRole> {

    /**
     * pc - 删除角色
     *
     * @param id-
     * @return -
     */
    Result<Object> pcRemove(Long id);

    /**
     * app - 我所拥有的角色
     *
     * @param appCurrentUser-
     * @return -
     */
    List<AppRoleVO> appRoles(SysUserVO appCurrentUser);

}